body {
    font-family: Arial, sans-serif;
    /* 设置背景图片 */
    background-image: url('background.jpg');
    /* 不重复背景图片 */
    background-repeat: no-repeat;
    /* 背景图片覆盖整个容器 */
    background-size: cover;
    /* 设置背景位置 */
    background-position: center center;
    /* 设置背景附件，固定背景不随滚动条移动 */
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 表单容器样式 */
.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
    max-width: 100%;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: #333;
}

/* 表单元素样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input[type="submit"] {
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form-group input[type="submit"]:hover {
    background-color: #218838;
}

/* 注册链接样式 */
.register-link {
    text-align: center;
    margin-top: 15px;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

body {
         background-color:whitesmoke;
     }
